package io.renren.modules.api.controller;

import io.renren.common.annotation.OpenApi;
import io.renren.common.utils.Result;
import io.renren.modules.api.dto.AddSealDto;
import io.renren.modules.seal.service.EcifSealFileService;
import io.renren.modules.seal.service.SealApiService;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @auther xiegaolong
 * @description
 * @date 2024/12/2
 */
@RestController
@Slf4j
@RequestMapping("/a002")
public class A002Controller {

    @Resource
    private SealApiService sealApiService;


    @OpenApi
    @PostMapping("/addSeal")
    public Result addSeal(@RequestBody AddSealDto dto){
        Result result = sealApiService.addSeal(dto);

        return result;
    }
}
